<h1><?php echo $this->title ?></h1>

<table>
<tr>
	<th>Id</th>
	<th>Status</th>
	<th>Priority</th>
	<th>Subject</th>
	<th>Added</th>
</tr>

<?php foreach($this->tasks as $row): ?>
	<tr>
		<td><?php echo $row['task_id'] ?></td>
		<td><?php echo $row['status'] ?></td>
		<td><?php echo $row['priority'] ?></td>
		<td><?php echo $row['subject'] ?></td>
		<td><?php echo $row['add_datetime'] ?></td>
	</tr>
<?php endforeach; ?>
</table>